﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CaiyinSoft.NetGather.NetGather
{
    public partial class FrmInputMessageBox : Form
    {
        public FrmInputMessageBox()
        {
            InitializeComponent();
            ShowCheckBox = false;
            CheckBoxChecked = false;
        }

        public string Prompt
        {
            get
            {
                return labPrompt.Text;
            }
            set
            {
                labPrompt.Text = value;
            }
        }

        public string DefaultValue
        {
            get
            {
                return string.Format("{0}", txtInput.Tag);
            }
            set
            {
                txtInput.Tag = value;
                txtInput.Text = value;
            }
        }

        public string InputValue
        {
            get
            {
                return txtInput.Text;
            }
        }

        public bool ShowCheckBox
        {
            get
            {
                return checkBox1.Visible;
            }
            set
            {
                checkBox1.Visible = value;
            }
        }

        public string CheckBoxText
        {
            get
            {
                return checkBox1.Text;
            }
            set
            {
                checkBox1.Text = value;
            }
        }

        public bool CheckBoxChecked
        {
            get
            {
                return checkBox1.Checked;
            }
            set
            {
                checkBox1.Checked = value;
            }
        }

    }
}
